﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EasyErp.Domain;
using EasyErp.ViewModel;

namespace EasyErp.Controllers
{
    public class CouponController : Controller
    {
        erpEntities db = new erpEntities();

        //
        // GET: /Coupon/

        public ActionResult Index(int id)
        {
            //db.MarkerDetail.Include("MarkerInfo").Include("PoBreakDown").Where(x => x.PoBreakDown.PoStyleId == id).Select(x => new { x.MarkerInfo.Ply, x.PoBreakDown.StyleSizes.SizeLabel, x.});
            return View();
        }

    }
}
